public class CountName {
    public static void main(String[] args) {
        char a='郑';
        int b=(int)a;
        System.out.println("郑对应的Ascii码为"+b);
        char a1='昌';
        int b1=(int)a1;
        System.out.println("昌对应的Ascii码为"+b1);
        char a2='军';
        int b2=(int)a2;
        System.out.println("军对应的Ascii码为"+b2);
        int sum=b+b1+b2;
        System.out.println("sum="+sum);

    }
}
